<!--
  @author tanghongjun
  @since 2018/10/19 08:59
-->
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head th:include="common/common :: jscss">
    <title>合同借阅列表</title>
</head>
<body>

<div class="layui-fluid">

    <blockquote class="layui-crumb">合同管理&nbsp;>
        <a th:lay-href="|/contract/borrow/record/list.action?contractId=${obj.contractId}|">合同借阅列表</a>&nbsp;
    </blockquote>

    <div class="layui-card">
        <div th:replace="contract/record/_tab::tab"></div>
        <div class="layui-split">&nbsp;</div>

        <form method="post" action="/contract/borrow/record/list.action">
            <div class="item-submit" style="display: none">
                <input name="contractId" th:value="${obj.contractId}">
                <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="zmn-form-submit"><i class="layui-icon">&#xe615;</i></button>
                <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm" lay-submit="" lay-filter="zmn-form-reset"><i class="layui-icon">&#xe669;</i></button>
            </div>
        </form>

        <div class="layui-card-body" id="table_body">
            <div th:replace="contract/borrow/record/_table::table"></div>
        </div>

    </div>

</div>
</body>
</html>
<script type="text/javascript" th:inline="javascript">

    var json = {
        items: [[${items}]],
        totalCount: [[${vo.totalCount}]],
        pageSize: [[${vo.pageSize}]],
        pageIndex: [[${vo.pageIndex}]],
        oneDepts: [[${oneDepts}]],
        twoDepts: [[${twoDepts}]]
    };

    layui.config({
        version: 2020021211018,
        base: "/static/lay/"
    }).extend({
        index: "lib/index",
        contract_borrow_record_list_js: "contract/borrow/record/zmn.plat.contract.borrow.record.list",
    }).use(['index', 'contract_borrow_record_list_js']);

</script>